Initializes a new instance of the CalendarPattern class with time units and a pattern.
[Visual Basic]
Public Function New( _
ByVal mappedTimeUnit As TimeInterval, _
ByVal wholeTimeUnit As TimeInterval, _
ByVal timePattern() As Boolean _
)
[C#]
public CalendarPattern(
TimeInterval mappedTimeUnit,
TimeInterval wholeTimeUnit,
bool[] timePattern
);
This instantiates a new CallendarPattern of a week marking the saturday and sunday. It uses the PatternFromString method to simplify adding a pattern by using a string.
[C#]
CalendarPattern newPattern = new CalendarPattern(TimeInterval.Day,TimeInterval.Week,CalendarPattern.PatternFromString("1000001")); |
CalendarPattern Class | CalendarPattern Members | Overload List
2002 - 2005 Webavail Productions Inc. & Corporate Web Solutions Ltd.. All Rights Reserved.